 <?php
return array (
		'controllers' => array (
				'invokables' => array (
						'Login\Controller\Index' => 'Login\Controller\IndexController',
						'Login\Controller\Registration' => 'Login\Controller\RegistrationController',
						'Login\Controller\Admin' => 'Login\Controller\AdminController' 
				) 
		),
		
		// The following section is new and should be added to your file
		'router' => array (
				'routes' => array (
						'login' => array (
								'type' => 'segment',
								'options' => array (
										'route' => '/admin[/:action[/:id]]',
										'constraints' => array (
												'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
												'id' => '[0-9]+' 
										),
										'defaults' => array (
												'controller' => 'Login\Controller\Index',
												'action' => 'index' 
										) 
								),
								'may_terminate' => true,
								'child_routes' => array (
										'default' => array (
												'type' => 'Segment',
												'options' => array (
														'route' => '/[:controller[/:action[/:id]]]',
														'constraints' => array (
																'controller' => '[a-zA-Z][a-zA-Z0-9_-]*',
																'action' => '[a-zA-Z][a-zA-Z0-9_-]*',
																'id' => '[a-zA-Z0-9_-]*' 
														) 
												),
												'defaults' => array () 
										) 
								) 
						) 
				) 
		),
		'view_manager' => array (
				'template_map' => array (
						'layout/layout' => __DIR__ . '/../view/layout/layout.phtml',
						'layout/login' => __DIR__ . '/../view/layout/login.phtml' 
				),
				'template_path_stack' => array (
						'login' => __DIR__ . '/../view' 
				) 
		),
		
);